package self.example.explore.bo.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import self.example.explore.bo.EmpService;
import self.example.explore.dao.EmpMapper;
import self.example.explore.po.Emp;

/**
 * @author 1.
 * @version 1.0
 * @description:  业务层实现类
 * @date 2023/3/30 21:13
 */
@Service
public class EmpServiceImpl implements EmpService {

    @Autowired
    private EmpMapper empMapper;

    @Override
    public Emp selectEmpById(Integer id) {
        return empMapper.selectByPrimaryKey(id);
    }
}
